/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package historyBean;

import java.rmi.RemoteException;
import java.util.Collection;
import javax.ejb.EJBObject;

/**
 * Remote Interface for HistoryBean
 * @author Konstantin
 * @see HistoryBean
 */
public interface History extends EJBObject {

    /**
     * Loads history from database for object
     * @param objectId 
     * @return Collection message line
     * @throws RemoteException
     * @see RemoteException
     */
    public Collection loadHistory(int objectId)
            throws RemoteException;
}